<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}">

</head>
<body class="container">
<div class="container-fluid" style="border: #2e6da4 1px solid;width: 550px;position: absolute;top:50%;left:50%; margin:-150px 0 0 -200px;height:300px;">

    <h3 style="text-align: center">用户注册</h3>

    <form class="form-horizontal" th:action="@{/register}" method="post">

        <div class="form-group">
            <label for="username" class="col-sm-2 control-label">用户名：</label>
            <div class="col-sm-10 col-sm-offset-2">
                <input type="text" class="form-control" placeholder="请输入用户名" name="username" id="username">
            </div>
        </div>

        <div class="form-group">
            <label for="password" class="col-sm-2 control-label">密码：</label>
            <div class="col-sm-10 col-sm-offset-2">
                <input type="password" class="form-control" placeholder="请输入密码" name="password" id="password">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-info" style="width: 40%">提交</button>


            </div>
        </div>




    </form>


</div>
</body>
</html>